package io.datajek.springbasics.movierecommendersystem.lesson3;

import org.springframework.stereotype.Component;

@Component
    public class CollaborativeFilter implements Filter {
        public String[] getRecommendations(String movie) {

            //协作式是过滤器的逻辑
            return new String[]{"Finding Nemo", "Ice Age", "Toy Story"};
        }
    }

